package com.sxy.demo.sxy;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 供应商的品牌
 *
 * @author wangyu
 * @date 2022/08/16
 */
@Data
@ApiModel("供应商的品牌")
@TableName("rms_goods_supplier_brand")
public class SupplierBrand extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 供应商id
     */
    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    /**
     * 品牌类型(1-品牌，2-白牌)
     */
    @ApiModelProperty(value = "品牌类型(1-品牌，2-白牌)")
    private String type;
    /**
     * 来源(1-自创，2-引用品牌池，3-自创但引用品牌池的编码)
     */
    @ApiModelProperty(value = "来源(1-自创，2-引用品牌池，3-自创但引用品牌池的编码)")
    private String source;

    private String brandName;
    /**
     * 引用的品牌编码
     */
    @ApiModelProperty(value = "引用的品牌编码")
    private String referBrandCode;
    /**
     * 商标注册号
     */
    @ApiModelProperty(value = "商标注册号")
    private String trademarkingNumber;
    /**
     * 授权等级
     */
    @ApiModelProperty(value = "授权等级")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String authorizationLevel;

    /**
     * 经营商品商标注册证及授权证明图片
     */
    @ApiModelProperty(value = "经营商品商标注册证图片")
    private String licensePicture;

    /**
     * 品牌授权资质
     */
    @ApiModelProperty(value = "品牌授权资质")
    private String authorizationCertificate;

    /**
     * 资质到期日
     */
    @ApiModelProperty(value = "资质到期日")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date qualificationEndTime;

    /**
     * 资质状态
     */
    @ApiModelProperty(value = "资质状态")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String qualificationStatus;
    /**
     * 其他材料
     */
    @ApiModelProperty(value = "其他材料")
    private String otherMaterials;

    /**
     * 审核状态 0-待审核 1-审核通过 2-审核不通过;3-取消品牌
     */
    @ApiModelProperty(value = "审核状态 0-待审核 1-审核通过 2-审核不通过;3-取消品牌")
    private String auditState;

    @ApiModelProperty(value = "启用状态 0-启用 1-禁用")
    private String enableState;

    @ApiModelProperty(value = "审核时间")
    private Date auditTime;

    private Long submitUser;


}
